package com.edmo.fastener.jms;

import com.edmo.fastener.business.CryptoKeyGenerator;
import com.edmo.fastener.parser.ParseCustomer;
import com.edmo.fastener.parser.ParseSuppliers;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public final class StartListener {

    private StartListener() {
    }

    public static void main(String[] args) {
        go();
    }

    public static void go() {
        new ParseCustomer().readnParse();
        new ParseSuppliers().readnParse(); 
        CryptoKeyGenerator.getCryptoKey();
        new ClassPathXmlApplicationContext("listener.xml");
    }
}
